home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 4 / The 640 Meg Shareware Studio CD-ROM Volume IV (Data Express)(1994).ISO / clang / cujaug93.zip / 1108120B < prev    next >
Text File  |  1993-05-23  |  350b  |  26 lines

  1.  1: int i;              // 3
  2.  2: 
  3.  3: struct A1
  4.  4:     {
  5.  5:     static int i;   // never
  6.  6:     struct B1
  7.  7:         {
  8.  8:         int i;      // 1
  9.  9:         };
  10. 10:     };
  11. 11: 
  12. 12: struct A2
  13. 13:     {
  14. 14:     static int i;   // 2
  15. 15:     struct B2 : public A1::B1
  16. 16:         {
  17. 17:         void f();
  18. 18:         };
  19. 19:     };
  20. 20: 
  21. 21: void A2::B2::f()
  22. 22:     {
  23. 23:     i = 3;
  24. 24:     }
  25.  
  26.